﻿using JavaDevToys.Rcl.Models;

namespace JavaDevToys.Rcl.Service
{
    public interface ICSharpCodeGenerator
    {
        /// <summary>
        /// 生成后端请求接口
        /// </summary>
        /// <param name="javaProjectInfo"></param>
        /// <param name="javaServiceInfos"></param>
        /// <returns></returns>
        public Dictionary<string, string> GenerateBackController(JavaProjectInfo javaProjectInfo, List<JavaServiceInfo> javaServiceInfos);
        public Dictionary<string, string> GenerateBackControllerMethod(JavaProjectInfo javaProjectInfo, List<JavaServiceInfo> javaServiceInfos);

        public List<string> GenerateBackModel(JavaProjectInfo javaProjectInfo, ApiInfo apiInfo);

        public void GenerateBackDtoModel(JavaProjectInfo javaProjectInfo, ApiInfo _apiInfo, out List<string> newFileList, out Dictionary<string, string> fixCodeDict);


    }
}